<form class="form-horizontal" name="CtrlForm" role="form" novalidate="novalidate" ng-submit="submit()" ng-controller='UserEditCtrl'>
	<div class="form-group has-feedback">
	  <label for="author" class="col-md-2 control-label">笔名</label>
	  <div class="col-md-6">
		<div class="input-group">
			<input type="text" class="form-control" id="author"  placeholder="请输入文章中的笔名"  ng-model='user.author' required/>
			<span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true" ng-show="CtrlForm.author.$dirty && CtrlForm.author.$valid" style="margin-right:40px;"></span>
			<span class="input-group-addon" style="color:red;">必填</span>		
		</div>
	  </div>
	</div>
   <div class="form-group has-feedback">
      <div class="col-md-offset-2 col-md-6">		
		<button type="reset" class="btn btn-default">重置</button>		
        <button type="submit" class="btn btn-primary" ng-disabled="CtrlForm.$pristine || CtrlForm.$invalid">保存</button>
      </div>
   </div>	

</form>